<section *ngIf="showForm">
    <div nz-row>
        <div nz-col nzOffset="5">
            <button nz-button nzType="primary" (click)="read()">读卡(加密)</button>
            <button nz-button nzType="primary" (click)="readPhy()">读物理卡号</button>
        </div>
    </div>
    <div nz-row [nzGutter] = '24' style="margin-top: 20px;">
        <div nz-col [nzSpan] = '24'>
          <nz-form-item>
            <nz-form-label [nzSpan]="5" nzRequired>管理楼栋</nz-form-label>
            <nz-form-control [nzSpan]="19" nzErrorTip="请选择!">
              <nz-spin [nzSize]="'small'" [nzSpinning]="isLoading">
                  <nz-tree-select
                  #treedom
                  id="tree"
                  [ngModelOptions]="{standalone: true}"
                  [nzNodes]="nodes"
                  [(ngModel)]="value"
                  (keyup)="onKey($event)"
                  [nzDropdownStyle]="{'max-height': '300px'}"
                  [nzShowExpand]=false
                  nzCheckable
                  nzPlaceHolder="请输入小区名字查询"
                  style="width: 100%;"
                  > </nz-tree-select>
                </nz-spin>
            </nz-form-control>
          </nz-form-item>
        </div>
      </div>
    <sf [formData]="param" [schema]="schema" (formSubmit)="formSubmit($event)"></sf>
</section>
